package tech.veedo.munchkin.beans.frontend.process;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import tech.veedo.munchkin.beans.basic.Base;

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@ApiModel("审批节点对流程工单的审批记录")
@TableName("MUNC_NODE_PASSING")
public class NodePassing extends Base<NodePassing> {

    @TableField("mapping_passing_id")
    @ApiModelProperty("实体工作流记录标识")
    private Long mappingPassingID;

    @TableField("node_id")
    @ApiModelProperty("节点标识")
    private Long nodeID;

    @TableField("node_name")
    @ApiModelProperty("节点名称")
    private String nodeName;

    @TableField("form_id")
    @ApiModelProperty("工单标识")
    private Long formID;

    @TableField("form_title")
    @ApiModelProperty("工单标题")
    private String formTitle;

    @ApiModelProperty("审批状态")
    private Integer state;

    @ApiModelProperty("备注")
    private String remark;

}
